﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="FinancialOverviewFinancialTransaction.aspx.vb" Inherits="ccapps.FinancialOverviewDeposits" %>



<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>

    
      <style type="text/css">
	.prompt { BACKGROUND-COLOR: #a2547f; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; FONT-FAMILY: Arial, Helvetica, sans-serif; HEIGHT: 20px; COLOR: #ffffff; FONT-SIZE: 11px; FONT-WEIGHT: bold; TEXT-DECORATION: none }


        .button02 {
			border-style: none;
              border-color: inherit;
              border-width: 1px;
              font-family: Verdana, Arial; 
		      font-size : 10px; 
		      font-weight : bold;
		      color: #336699;
		      padding : 3px;	
		      text-align:center;
		      text-decoration: none;
              float:right;
              }


                       .bir 
{
	font-family: Arial, Helvetica;
	color: #000000;
	font-size: 12px;
	text-decoration: none;
	width: 225px;
	border-top: 1px solid #dfdfdf;
	padding-left: 10px;
	background-color: #e6e6fa;	
} 
.iki 
{
	        BACKGROUND-COLOR: #f5f5f5;
            FONT-FAMILY: Arial, Helvetica;
            COLOR: #000000;
            FONT-SIZE: 12px;
            TEXT-DECORATION: none; 
			width:225px;
            border-collapse:collapse
}
		
		  .auto-style1 {
              font-family: Arial, Helvetica;
              color: #000000;
              font-size: 12px;
              text-decoration: none;
              width: 225px;
              border-top: 1px solid #dfdfdf;
              padding-left: 10px;
              background-color: #e6e6fa;
              height: 17px;
          }
          .auto-style2 {
              BACKGROUND-COLOR: #f5f5f5;
              FONT-FAMILY: Arial, Helvetica;
              COLOR: #000000;
              FONT-SIZE: 12px;
              TEXT-DECORATION: none;
              width: 675px;
              border-collapse: collapse;
              height: 17px;
          }
          .auto-style3 {
              font-family: Arial, Helvetica;
              color: #000000;
              font-size: 12px;
              text-decoration: none;
              width: 225px;
              border-top: 1px solid #dfdfdf;
              padding-left: 10px;
              background-color: #e6e6fa;
              height: 20px;
          }
          .auto-style4 {
              BACKGROUND-COLOR: #f5f5f5;
              FONT-FAMILY: Arial, Helvetica;
              COLOR: #000000;
              FONT-SIZE: 12px;
              TEXT-DECORATION: none;
              width: 225px;
              border-collapse: collapse;
              height: 20px;
          }
		
		  .auto-style5 {
              font-family: Arial, Helvetica;
              color: #000000;
              font-size: 12px;
              text-decoration: none;
              width: 225px;
              border-top: 1px solid #dfdfdf;
              padding-left: 10px;
              background-color: #e6e6fa;
              height: 59px;
          }
          .auto-style6 {
              BACKGROUND-COLOR: #f5f5f5;
              FONT-FAMILY: Arial, Helvetica;
              COLOR: #000000;
              FONT-SIZE: 12px;
              TEXT-DECORATION: none;
              width: 225px;
              border-collapse: collapse;
              height: 59px;
          }
		
		  .auto-style7 {
              font-family: Arial, Helvetica;
              color: #000000;
              font-size: 12px;
              text-decoration: none;
              width: 125px;
              border-top: 1px solid #dfdfdf;
              padding-left: 10px;
              background-color: #e6e6fa;
          }
		 .black_overlay{
			display:none;
			position: absolute;
			top: 0%;
			left: 0%;
			width: 100%;
			height: 125%;
			background-color: black;
			z-index:1001;
			-moz-opacity: 0.8;
			opacity:.80;
			filter: alpha(opacity=80);
		}
		.white_content {
			display:none;
			position: absolute;
			top: 25%;
			left: 25%;
			width: 250px;
			height: 150px;
			padding: 16px;
			border: 8px solid #930051;
			background-color: white;
			z-index:1002;
			overflow: auto; 
            font-size:large; 
            text-align:center; 
            vertical-align:middle;  
            FONT-FAMILY: Arial, Helvetica, sans-serif; 
            FONT-SIZE: 12px; 
            FONT-WEIGHT: bold;
            border-radius:25px; 

            
            
            
		}
         .text-alan { 
            padding-top:8px; 
            width:250px; 
            height:26px;
            

        }
		  </style>
      <script type = "text/javascript">
    

          function Confirm() {
              var confirm_value = document.createElement("INPUT");
              confirm_value.type = "hidden";
              confirm_value.name = "confirm_value";

          }

      

          function deneme2() {
              setTimeout("uyaricikar()", 1)

          }
          function uyaricikar() {

              if (Page_IsValid == true) {
                  document.getElementById("light").style.display = "block";
                  document.getElementById("fade").style.display = "block";
              }
          }




    </script>
     <script src="../assets/scripts/CalendarPopup.js"></script> 
    <script src="../assets/scripts/common.js"></script>
    <script>document.write(getCalendarStyles());</script>

    


<body>
    <form id="form2" runat="server">
          <asp:Label ID="ErrorMes" runat="server" ForeColor="Red"></asp:Label>
          <table width="80%">
  <tr>
    <td  colspan="3" class="prompt">Finansal Arama</td>

  </tr>
  <tr>
    <td class="auto-style7">MSISDN
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtMsisdn" Display="Dynamic" ErrorMessage="MSISDN Alanın Girilmesi Zorunludur." Font-Size="Large" SetFocusOnError="True" ValidationGroup="GrpMSISDN" ForeColor="Red">(*)</asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxtMsisdn" ErrorMessage="Format:5051234567" ValidationExpression="^[0-9]+$" Font-Size="Large" ValidationGroup="GrpMSISDN" ForeColor="Red">(*)</asp:RegularExpressionValidator>
      </td>
    <td class="iki">
          
                            <asp:TextBox ID="TxtMsisdn" runat="server" MaxLength="10" onkeydown = "return (event.keyCode!=13)" CssClass="text-alan" Width="385px"></asp:TextBox>
                        </td>
    <td class="iki">    
                            <asp:Button ID="BtnMsisdn" runat="server" CssClass="button02" Text="Doğrula" ValidationGroup="GrpMSISDN" OnClientClick="Confirm()" />
                            </td>
  </tr>
  <tr>
    <td class="auto-style7">Custcode<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TxtCustcode" ErrorMessage="CustCode Alanın Girilmesi Zorunludur." Font-Size="Large" ValidationGroup="GrpCustCode" ForeColor="Red">(*)</asp:RequiredFieldValidator>
      </td>
    <td class="iki">
                            <asp:TextBox ID="TxtCustcode" runat="server" onkeydown = "return (event.keyCode!=13)" CssClass="text-alan" Width="385px"></asp:TextBox>
                        </td>
    <td class="iki">    
                            <asp:Button ID="BtnCustcode" runat="server" CssClass="button02" Text="Doğrula" ValidationGroup="GrpCustCode" OnClientClick="Confirm()" />
                            </td>
  </tr>
  <tr>
    <td class="auto-style7">COID<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxtCoid" ErrorMessage="COID Alanın Girilmesi Zorunludur." Font-Size="Large" ValidationGroup="GrpCoid" ForeColor="Red">(*)</asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TxtCoid" ErrorMessage="COID Harf İçermez." ValidationExpression="^[0-9]+$" Font-Size="Large" ValidationGroup="GrpCoid" ForeColor="Red">(*)</asp:RegularExpressionValidator>
      </td>
    <td class="iki">
          
                            <asp:TextBox ID="TxtCoid" runat="server" onkeydown = "return (event.keyCode!=13)" CssClass="text-alan" Width="385px"></asp:TextBox>
                        </td>
    <td class="iki">    
                            <asp:Button ID="BtnCoid" runat="server" CssClass="button02" Text="Doğrula" ValidationGroup="GrpCoid" OnClientClick="Confirm()" />
                            </td>
  </tr>
</table>
        <table width="80%" id="Table2" runat="server" visible="false">
  <tr>
    <td colspan="4" class="prompt">Müşteri Bilgileri</td>
  </tr>
  <tr>
    <td class="auto-style1">Müşteri</td>
    <td class="auto-style2" colspan="3">    
                            <asp:Label ID="LblCustomer" runat="server"></asp:Label>
                        </td>
  
  </tr>
  <tr>
    <td class="bir">Mevcut Tutar</td>
    <td class="iki">    
                            <asp:Label ID="LblCurBalance" runat="server"></asp:Label>
                         </td>
    <td class="bir">Son Faturalandırma Tarihi</td>
    <td class="iki">    
                            <asp:Label ID="LblLastBillOn" runat="server"></asp:Label>
                         </td>
  </tr>
  <tr>
    <td class="auto-style3">Toplam Açık Tutar</td>
    <td class="auto-style4">    
                            <asp:Label ID="LblTotal" runat="server" Text="	
"></asp:Label>
                            <asp:Label ID="LblTotal1" runat="server"></asp:Label>
                         </td>
    <td class="auto-style3">Faturalandırılmamış Tutar</td>
    <td class="auto-style4">    
                            <asp:Label ID="LblUnBillUsage" runat="server" Text="	
"></asp:Label>
                            <asp:Label ID="LblUnBill" runat="server"></asp:Label>
                         </td>
  </tr>
  <tr>
    <td class="bir">Önceki Tutar</td>
    <td class="iki">    
                            <asp:Label ID="LblPrevBalance" runat="server" Text="
"></asp:Label>
                            <asp:Label ID="LblPrevBalance2" runat="server"></asp:Label>
                         </td>
    <td class="bir">Tahsilat İzni</td>
    <td class="iki">    
                            <asp:CheckBox ID="CheckBox2" runat="server"  Text=" " Checked="True" Enabled="False"/>
                        </td>
  </tr>
  <tr>
    <td colspan="4" class="prompt">Finansal İşlemler</td>
  </tr>
  <tr>
    <td class="auto-style5">Başlangıç Tarihi </td>
    <td class="auto-style6">    
        

    <asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
    <SCRIPT LANGUAGE="JavaScript">
        var cal1x = new CalendarPopup("testdiv1");
</SCRIPT>
       
<a HREF="#" onClick="cal1x.select(document.forms[0].txtDate,'anchor1x','dd/MM/yyyy'); return false;" TITLE="cal1x.select(document.forms[0].txtDate,'anchor1x','dd/MM/yyyy'); return false;" NAME="anchor1x" ID="anchor1x"><IMG border="0" name="popcal" alt="" align="absMiddle" src="/ccapps/util/calender/calbtn.gif"
												width="34" height="22"></a>

                         </td>
    <td class="auto-style5">Bitiş Tarihi</td>
    <td class="auto-style6">    
                          

    <asp:TextBox ID="txtDate2" runat="server"></asp:TextBox>
    
          <SCRIPT LANGUAGE="JavaScript" ID="jscal1xx">
              var cal1xx = new CalendarPopup("testdiv1");
              //cal1xx.showNavigationDropdowns();
</SCRIPT>
<A HREF="#" onClick="cal1xx.select(document.forms[0].txtDate2,'anchor1xx','dd/MM/yyyy'); return false;" TITLE="cal1xx.select(document.forms[0].txtDate2,'anchor1xx','dd/MM/yyyy'); return false;" NAME="anchor1xx" ID="anchor1xx"><IMG border="0" name="popcal" alt="" align="absMiddle" src="/ccapps/util/calender/calbtn.gif"</A>
                            </td>
  </tr>
  <tr>
    <td colspan="4" class="bir">    
                            <asp:Button ID="Button9" runat="server" Text="Ara" CssClass="button02" />
                            <asp:Label ID="Label26" runat="server" Visible="False"></asp:Label>
                            <asp:Label ID="Label27" runat="server" Visible="False"></asp:Label>
                            <asp:Label ID="LblCsid" runat="server" Visible="False"></asp:Label>
                        </td>
  </tr>
</table>

   <table width="80%" id="TblShowDetail" runat="server" visible="false">
  <tr>
    <td>
                <asp:datagrid id="DtFinancialTransactionDetails" runat="server" Width="100%" AutoGenerateColumns="False" SelectedIndex="1" ShowFooter="True" UseAccessibleHeader="True" AllowPaging="True">
				<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
				<ItemStyle Font-Size="11px" Font-Names="Arial" BackColor="Lavender"></ItemStyle>
				<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
				<Columns>
						<asp:TemplateColumn>
                                        <ItemTemplate>
                                             <asp:LinkButton ID="lnkSec" Runat="server"  OnClientClick="deneme2()" CommandName="view">Detayları Göster</asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateColumn>
					<asp:BoundColumn DataField="REFCODE" HeaderText="Referans Numarası">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="REFDATE" HeaderText="Referans Tarihi " DataFormatString="{0:dd.MM.yyyy}">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="DOCNO" HeaderText="Doküman Numarası">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>
					
					
					<asp:BoundColumn DataField="TYPE" HeaderText="Tip">
						<HeaderStyle Font-Bold="True" ForeColor="White" Width="10%" BackColor="#A2547F"></HeaderStyle>

						
					</asp:BoundColumn>

                    <asp:BoundColumn DataField="AMAOUNT" HeaderText="Tutar ">
						<HeaderStyle Font-Bold="True" ForeColor="White" Width="10%" BackColor="#A2547F"></HeaderStyle>

						
					</asp:BoundColumn>
                    <asp:BoundColumn DataField="GRANTEDDISCOUNT" HeaderText="Verilen İndirim">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>

						
					</asp:BoundColumn>
                    <asp:BoundColumn DataField="ENTRYDATE" HeaderText="Giriş Tarihi" DataFormatString="{0:dd.MM.yyyy}">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>

						
					</asp:BoundColumn>

                    <asp:BoundColumn DataField="PAYMETHOD" HeaderText="Ödeme Tipi">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>

                    <asp:BoundColumn DataField="TRANSNO" HeaderText="İşlem No">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>
                    <asp:BoundColumn DataField="TRANSNO2" HeaderText="İşlem No" Visible="false">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>
				</Columns>
				<PagerStyle Font-Size="11px" Font-Names="Arial" HorizontalAlign="Right" ForeColor="White" BackColor="#A2547F"
					Mode="NumericPages"></PagerStyle>
			</asp:datagrid>
                   
              </td>
  </tr>
  <tr>
    <td class="bir">    
                           
                         &nbsp;</td>
  </tr>
</table>
             <table width="80%" id="TblShowDetail2" runat="server" visible="false">
  <tr>
    <td  colspan="4" class="prompt" style="width:900px">Finansal Doküman Detayları</td>
   
  </tr>
  <tr>
    <td class="bir">Tip</td>
    <td class="iki" style="width:675px">    
                
                    <asp:Label ID="LblType" runat="server"></asp:Label>
             </td> 
      <td class="bir"> İşlem No</td>
       <td class="iki">     
                
                    <asp:Label ID="LblTransNo" runat="server"></asp:Label>
      </td>

  </tr>
  <tr>
    <td class="bir">Referans Numarası</td>
    <td class="iki">    
                
                    <asp:Label ID="LblRefCode" runat="server"></asp:Label>
             </td>
    <td class="bir">Referans Tarihi</td>
    <td class="iki">    
                
                    <asp:Label ID="LblRefNo" runat="server"></asp:Label>
             </td>
  </tr>
  <tr>
    <td class="auto-style3">Doküman Numarası</td>
    <td class="auto-style4">
                                    
                    <asp:Label ID="LblDocNo" runat="server"></asp:Label>
             </td>
    <td class="auto-style3">Yürürlülük Tarihi</td>
    <td class="auto-style4">    
                
                    <asp:Label ID="LblEffective" runat="server"></asp:Label>
             </td>
  </tr>
  <tr>
    <td class="bir">Giriş Tarihi</td>
    <td class="iki">    
                
                    <asp:Label ID="LblEntryDate" runat="server"></asp:Label>
                </td>
    <td class="bir">Oluşturan Kişi</td>
    <td class="iki">    
                
                    <asp:Label ID="LblCreatedBy" runat="server"></asp:Label>
                </td>
  </tr>
  <tr>
    <td class="bir">Toplu Üretim Numarası</td>
    <td class="iki" colspan="3">    
                
                    <asp:Label ID="LblBatch" runat="server"></asp:Label>
                </td>

  </tr>
                  <tr>
    <td class="bir">Ödeme Tipi</td>
    <td class="iki">    
                
                    <asp:Label ID="LblPaymentMode" runat="server"></asp:Label>
                </td>
    <td class="bir">Banka Adı</td>
    <td class="iki">    
                
                    <asp:Label ID="LblBankName" runat="server"></asp:Label>
                </td>
  </tr>
                  <tr>
    <td class="bir">Hesap</td>
    <td class="iki">    
                
                    <asp:Label ID="LblAccount" runat="server"></asp:Label>
                </td>
    <td class="bir">Alt Hesap</td>
    <td class="iki">    
                
                    <asp:Label ID="LblSubAcc" runat="server"></asp:Label>
                </td>
  </tr>
                  <tr>
    <td class="bir">Tutar</td>
    <td class="iki">    
                
                    <asp:Label ID="LblAmount" runat="server" Text="	"></asp:Label>
                    <asp:Label ID="LblAmount2" runat="server"></asp:Label>
                </td>
    <td class="bir">Verilen İndirim</td>
    <td class="iki">    
                
                    <asp:Label ID="LblGranted" runat="server"></asp:Label>
                </td>
  </tr>
                  <tr>
    <td class="bir">GL-Hesabı</td>
    <td class="iki">    
                
                    <asp:Label ID="LblGlAcc" runat="server"></asp:Label>
                </td>
    <td class="bir">İndirim İçin GL-Hesabı</td>
    <td class="iki">    
                
                    <asp:Label ID="LblGlAccount" runat="server"></asp:Label>
                </td>
  </tr>
                  <tr>
    <td class="bir">Gönderim Tarihi</td>
    <td class="iki" colspan="3">    
                
                    <asp:Label ID="LblPost" runat="server"></asp:Label>
                </td>

  </tr>
                  <tr>
    <td class="bir">Yorum</td>
    <td class="iki" colspan="3">    
                
                    <asp:Label ID="LblComment" runat="server"></asp:Label>
                </td>

  </tr> 

                 <tr> 
                     <td  colspan="4" style="width:900px" class="prompt">İlgili Dokümanlar</td>
                 </tr>
                 <tr> 
                     <td colspan="4" style="width:900px; padding:0px"  class="bir"> 

                <asp:datagrid id="DataGrid2" runat="server" Width="100%" PageSize="10" AutoGenerateColumns="False">
				<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
				<ItemStyle Font-Size="11px" Font-Names="Arial" BackColor="Lavender"></ItemStyle>
				<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
				<Columns>
					
					<asp:BoundColumn DataField="DOCREFNO" HeaderText="Doküman Referans Numarası">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="DATEREF" HeaderText="Referans Tarihi" DataFormatString="{0:dd.MM.yyyy}">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="ASSIGNMENTAMAOUNT" HeaderText="Atanan Tutar">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="OPENAMAOUNT" HeaderText="Açık Tutar" >
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
					</asp:BoundColumn>
					
					<asp:BoundColumn DataField="ORJAMAOUNT" HeaderText="Orijinal Tutar">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>

						
					</asp:BoundColumn>

                    <asp:BoundColumn DataField="DISAMAOUNT" HeaderText="İndirim">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>

						
					</asp:BoundColumn>
                    <asp:BoundColumn DataField="TYPE" HeaderText="Tip">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>

						
					</asp:BoundColumn>
                    <asp:BoundColumn DataField="DUEDATE" HeaderText="Son Ödeme Tarihi" DataFormatString="{0:dd.MM.yyyy}">
						<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>

						
					</asp:BoundColumn>

                    
				</Columns>
				<PagerStyle Font-Size="11px" Font-Names="Arial" HorizontalAlign="Right" ForeColor="White" BackColor="#A2547F"
					Mode="NumericPages"></PagerStyle>
			</asp:datagrid>
                   
                     </td>
                 </tr>
 
       </table>


     
   

          <asp:ValidationSummary ID="ValidationSummary2" runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="GrpCoid" />
          <asp:ValidationSummary ID="ValidationSummary3" runat="server" ValidationGroup="GrpCustCode" ShowMessageBox="True" ShowSummary="False" />


     
   

          <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="GrpMSISDN" />

          <div id="light" runat="server"  class="white_content"> <img src="../gif/gif-load.gif" /><br /><br />İŞLEMİNİZ YAPILIYOR LÜTFEN BEKLEYİNİZ</div>
		<div id="fade" runat="server" class="black_overlay"></div>
     
   <DIV ID="testdiv1" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV> 

    </form>
</body>
</html>
